package com.xjy.system.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

import com.xjy.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 物料管理变更信息分页查询对象 sys_material_update
 *
 * @author zc
 * @date 2022-01-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("物料管理变更信息分页查询对象")
public class SysMaterialUpdateQueryBo extends BaseEntity {

	/** 分页大小 */
	@ApiModelProperty("分页大小")
	private Integer pageSize;
	/** 当前页数 */
	@ApiModelProperty("当前页数")
	private Integer pageNum;
	/** 排序列 */
	@ApiModelProperty("排序列")
	private String orderByColumn;
	/** 排序的方向desc或者asc */
	@ApiModelProperty(value = "排序的方向", example = "asc,desc")
	private String isAsc;


	@ApiModelProperty("ID")
	private Long id;
	@ApiModelProperty("ID集合")
	private List<Long> idList;
	@ApiModelProperty("项目id")
	private Long projId;

	@ApiModelProperty("项目名称")
	private String projName;

	@ApiModelProperty("物料id")
	private Long materialId;

	@ApiModelProperty("物料名称")
	private String materialName;

	@ApiModelProperty("物料变更单号")
	private String materialNo;

	@ApiModelProperty("类型:0:入库,1:借出,2:归还,3:报损,4:售卖")
	private String materialStatus;

	@ApiModelProperty("关联借出单据单号")
	private String materialAffiliatedOddNo;

	@ApiModelProperty("物料期初库存")
	private Long startAmt;

	@ApiModelProperty("物料变更数量")
	private Long num;

	@ApiModelProperty("物料可用库存")
	private Long initAmt;

	@ApiModelProperty("物料账面库存")
	private Long availableStock;

	@ApiModelProperty("物料变更起始时间")
	private String createTimeStart;
	@ApiModelProperty("物料变更终止时间")
	private String createTimeEnd;



	@ApiModelProperty("经办人部门ID")
	private Long deptId;

	@ApiModelProperty("经办人部门名称")
	private String deptName;

	@ApiModelProperty("经办人ID")
	private Long handlerId;

	@ApiModelProperty("经办人")
	private String handler;

	@ApiModelProperty("经办人电话")
	private String handlerPhone;

	@ApiModelProperty("预留字段1")
	private String reserveOne;

	@ApiModelProperty("预留字段2")
	private String reserveTwo;

	@ApiModelProperty("预留字段3")
	private String reserveThree;


	@ApiModelProperty("删除状态 0. 正常 1. 删除")
	private Integer delFlag;

	@ApiModelProperty("审核状态 0：未审核（默认）；1：审核")
	private Boolean auditStatus;

	@ApiModelProperty("归还状态0：未归还；1：已归还")
	private Integer status;


}
